A Test Automation Language for Behavioral Models

نویسندگان

  • Nan Li
  • Jeff Offutt
چکیده

Model-based testers design tests in terms of models, such as paths in graphs. Abstract tests cannot be run directly because they use names and events that exist in the model, but not the implementation. Testers usually solve this mapping problem by hand. Model elements often appear in many abstract tests, so testers write the same redundant code many times. This is time-consuming, labor-intensive, and error-prone. This paper presents a language to automate the creation of mappings from abstract tests to concrete tests. Three issues are addressed: (1) creating mappings and generating test values, (2) transforming graphs and using coverage criteria to generate test paths, and (3) solving constraints and generating concrete test. The paper also presents results from an empirical comparison of testers using the mapping language with manual mapping on 17 open source and example programs. We found that the automated test generation method took a fraction of the time the manual method took, and the manual tests contained numerous errors in which concrete tests did not match their abstract tests.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Approach to Derive Test Cases from Sequence Diagram

In model based testing, the test cases are generated from the abstract representation of the model. The Abstract test suites are not executed against system under test because it is needed to be described from the corresponding abstract test suite. The effect of model based testing is it offers automation of testing. If a model is readable one then it should have a well defined behavioral inter...

متن کامل

Model-driven System Testing for Interactive Applications

This paper describes an approach for automatically generating system tests from behavioral models of an application using the Unified Modeling Language (UML.) The proposed approach builds on and combines existing techniques for data coverage and graph coverage. It first consists of using the Category-Partition method to introduce data into the UML model. UML Use Cases and Activity diagrams are ...

متن کامل

Security Functional Testing Using An Interface-Driven Model-Based Test Automation Approach

Independent security functional testing on a product occupies a backseat in traditional security evaluation because of the cost and stringent coverage requirements. In this paper we present the details of an approach we have developed to automate security functional testing. The underlying framework is called TAF (Test Automation Framework) and the toolkit we have developed based on TAF is the ...

متن کامل

UML-Based Statistical Test Case Generation

For incremental iterative software development processes, automated testing is necessary to enable evolution not only in terms of functionality, but in terms of software quality as well. Automation requires models to provide the necessary information. Scenarios and use cases do not only feed requirements engineering, they may also be the basis for testing. They have to be enriched by detailed b...

متن کامل

Challenges in Automated Model-Based HMI Testing

We describe our approach to automated model-based HMI testing. The paper is divided into two parts. In the first part, we summarize the current status of our work. In the second part, we describe a number of research areas that need to be worked on in order to achieve true model-based HMI test automation. 1 Test Automation in the HMI Domain The task of test automation involves two subtasks: (1)...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013